Scenario: Service Bus would like to send a SUBMITRTPFORBRN received from distributor for a transaction made by a consumer with the merchant and would like to receive a unique BRN, APTransactionID

Given the OSB has submitted a structurally valid SUBMITRTPFORBRN request to APCore
When APCore receives the structurally valid SUBMITRTPFORBRN
Then the DistributorID within the request should be validated against the DistributorID reference data
And the MerchantID within the request should be validated against the MerchantID reference data
And all RTP information is stored in the database with timestamp
And a unique 18 character APTransactionID should be generated
And a unique 6 charecter BRN should be generated
And a ReconciliationID should be generated
And the status of the new T_ORDER_PAYMENT record should be RTPSUBMITTED
And a SUCCESSFUL RESPONSETORTP including BRN should be generated and sent to OSB
